package com.xy.modular.shop.entity;

import com.xy.framework.base.entity.Entity;

/**
 * <p>
 * 属性名表 property_name
 * </p>
 *
 * @author BCK
 * @since 2019-10-12
 */
public class ProductPropertyName extends Entity {

    private static final long serialVersionUID = 1L;

    /**
     *  	所属类目ID 	与商品信息表中的cid对应 与商品类目表中的ID对应
     */
    private Integer cid;
    /**
     *  	属性名 	例如：颜色 版本 尺寸
     */
    private String title;
    /**
     *  	是否销售属性 	0否 1 是
     */
    private Boolean isSale;
    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public Boolean getSale() {
        return isSale;
    }

    public void setSale(Boolean isSale) {
        this.isSale = isSale;
    }

    public static final String CID = "shop_product_property_name.cid";
    public static final String TITLE = "shop_product_property_name.title";
    public static final String IS_SALE = "shop_product_property_name.is_sale";

    @Override
    public String toString() {
        return "ProductPropertyName{" +
            "cid=" + cid +
            ", title=" + title +
            ", isSale=" + isSale +
        "}";
    }
}
